$(document).ready(function() {
	$('#orderDetail').grid({
		url:"/message/api/orders",
		processData : true,
		async : false,
		pageSize : 10,
		type : "get",
		dataType : "json",
		colModel:[{
			display:'ID',
			name:'orderId',
			width:80
		},{
			display:'订单状态',
			name:'statusText',
			width:'100'
		},{
			display:'总价',
			name:'totalPrice',
			width:'50'
		},{
			display:'邮费',
			name:'expressPrice',
			width:'50'
		},{
			display:'客户昵称',
			name:'nickname',
			width:80
		},{
			display:'客户手机号',
			name:'phone',
			width:80
		},{
			display:'客户地址',
			name:'address',
			width:150
		}]
	});
	
	$('#orderDetail').grid('load',{
		pageNumber:1
	});
	
})